<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小米首页商城轮播布局</title>
</head>

<style>
   * {
      padding: 0;
      margin: 0; 
   }

   .box {
       width: 1200px;
       height: 400px;
       background-color: pink;
       margin: 100px auto;
   }

   .left {
       float: left;
       width: 230px;
       height: 400px;
       background-color: yellow;
   }

   .right {
       float: left;
       width: 970px;
       height: 400px;
       background-color: green;
   }
</style>
<body>
    <div class="box">
        <div class="left">左侧</div>
        <div class="right">右侧</div>
    </div>
</body>
</html>